#ifndef PRIVATEINFO_H
#define PRIVATEINFO_H
#include<QObject>
#include<QString>
class privateinfo:public QObject
{
    Q_OBJECT
public:
    privateinfo();
    struct fan{
        QString name;
        QString image;
        QString sign;
    };
    privateinfo(QString name,QString account,QString image,QString sign,QString secret)
    {
        this->name=name;
        this->account=account;
        this->image=image;
        this->sign=sign;
        this->secret=secret;
    }
    void addfan(QString name,QString image,QString sign);
public:
    QString name;
    QString account;
    QString image;
    QString sign;
    QString secret;
    QVector<fan> fans;
    int udpsocket;   //通信套接字

};

#endif // PRIVATEINFO_H
